/**
 * 
 */
package com.ap.core.jbehave.stories;

import java.util.Arrays;
import java.util.List;

import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;

import com.ap.core.jbehave.CommonStories;
import com.ap.core.jbehave.StoryContext;
import com.ap.core.jbehave.StoryContextClearer;
import com.ap.core.jbehave.manageconsumer.RetrieveConsumerDetailsSteps;

/**
 * The Class RetrieveConsumerDetailsStory.
 *
 * @author Siva.Pochana
 */
public class RetrieveConsumerDetailsStory extends CommonStories {

    /* (non-Javadoc)
     * @see org.jbehave.core.ConfigurableEmbedder#stepsFactory()
     */
    @Override
	public InjectableStepsFactory stepsFactory() {
		return new InstanceStepsFactory(configuration(), new RetrieveConsumerDetailsSteps(new StoryContext()), new StoryContextClearer(storyContext()));
	}
    
	/* (non-Javadoc)
	 * @see org.jbehave.core.junit.JUnitStories#storyPaths()
	 */
	@Override
	protected List<String> storyPaths() {
		return Arrays.asList("stories/retrieve_consumer_details.story");
	}

}
